Component({

  properties: {
    networkflag: {
      type: Boolean,
      value: false
    }
  },

  methods: {

    fresh: function () {
      let msg = true;
      console.log(msg)
      this.triggerEvent('fresh', msg, { bubble: false })
      this.setData({
        networkflag: false
      })
    }
  }
});
